package com.houguanghui.examples.netty.quickstart;

public class HelloWorldServer {
  public static void main(String[] args) {
    final int port = 8080;
    final NettyServer server = new NettyServer(port, new HelloWordServerHandler());
    try {
      server.run();
    } catch (final Exception e) {
      e.printStackTrace();
    }
  }
}
